package com.dj.uphome.web.vo.system;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.validation.Valid;

import com.dj.common.web.vo.BaseVo;

import lombok.Getter;
import lombok.Setter;
/**
 * 组织机构系统用户
 * @author HeLirong
 *
 */
@Getter
@Setter
public class SysUserVo extends BaseVo {
	private static final long serialVersionUID = 2760009121564068260L;
	/**账号增加方式----后台添加***/
	public static final String USER_ADD_TYPE_DEFAULT = "0";
	/**账号增加方式----系统分配***/
	public static final String USER_ADD_TYPE_SYSTEM = "1";
	/**--------------数据库字段---------------**/
	private int userId;
	private String userName;
	private String password;
	private String name;
	private Date lastLogin;
	private String ip;
	private String status;
	private String remark;
	private String addType;
	private String email;
	private String number;
	private String phone;
	private int loginCount;
	private String gender;
	private long schoolId;
	private String schoolName;
	
	/*
	private long organizationId;*/
	
	/**--------------辅助属性---------------**/
	private String searchName;
	private String twoPassword;
	private String searchFlag;
	private String repeatFlag;
	private List<SysRoleVo> roles;
	
	public static List<String> sensitiveUserName = new ArrayList<>();
	static {
		sensitiveUserName.add("admin");
		sensitiveUserName.add("huazeadmin");
		sensitiveUserName.add("manager");
		sensitiveUserName.add("root");
	}
}
